#include<stdio.h>
int fun(int x, int n)
{
	int i, s = 1;
	for (i = 1; i <= x; i++)
	
		s *= n;
		return s;
	
}
int main()
{
	int a, b, m = 0;
	printf("请输入两个数\n");
	scanf_s("%d %d", &a, &b);
	m = fun(a, b);
	printf("%d的%d次方是%d\n", b, a, m);
	return 0;
}